package com.itheima.reggie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.reggie.entity.Orders;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {
    Double sumAmount();


    Double sumDaysAmount();

    Double sumWeekAmount();

    Double sumMonthAmount();

    List<Orders> moeny();

    List<Orders> dayMoeny();

    List<Orders> dayWeekMoeny();

    List<Orders> dayMonthMoeny();
}
